package com.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangxiaojun
 * @since 2023-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ydd_advpos")
public class YddAdvpos implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 广告位名称
     */
    @TableField("advposname")
    private String advposname;

    /**
     * 广告位描述
     */
    @TableField("advposdesc")
    private String advposdesc;

    /**
     * 广告位尺寸
     */
    @TableField("advpossize")
    private String advpossize;

    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    @TableField("default_data")
    private String defaultData;

    @TableField(exist = false)
    private Integer advposnum;



}
